/* WARNING!!  This message format is in pre-alpha development.  There is a high
 * probability any of these formats will change, which will cause prior
 * versions to no longer work.  You are more than welcome to setup to help us
 * develop and/or test, but it is NOT recommend you use the server or message
 * formats for production purposes until we at least reach beta development.
 * Thank you.
 */

syntax = "proto3";
import "enums.proto";

/* Person: Initial thought is to have users log in using an ActivityPub based
 * account from other servers (e.g. Mastodon, Pleroma, etc.), so initial
 * thought is no direct login capabilities.  This will keep the basic data of a
 * user to identify who is the owner of a message, including their login uri
 * (e.g. @mynick@server.example) and names, both real name (to identify authors 
 * of the content for copyright purposes) and display name (which can be a
 * nickname).
 */

message Person {
	string uri = 1;
	string display_name = 2;
	string real_name = 3;
}


/* This is used to store the list of contributers in a project.  Not sure if it
 * will ever be used elsewhere, but since it's person-related, it's in the
 * person file anyway.
 */

message Contributer {
	string uri = 1;
	ContributionType type = 2;
}
